home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 4.6 KB | 166 lines | [TEXT/MPS ] |
- /*
- File: LowMem.idl
-
- Contains: Low Memory Accessor Interfaces.
-
- Version: Technology: System 7.5
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __LOWMEM_IDL__
- #define __LOWMEM_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __CONTROLS_IDL__
- #include <Controls.idl>
- #endif
- #ifndef __EVENTS_IDL__
- #include <Events.idl>
- #endif
- #ifndef __FILES_IDL__
- #include <Files.idl>
- #endif
- #ifndef __FONTS_IDL__
- #include <Fonts.idl>
- #endif
- #ifndef __MEMORY_IDL__
- #include <Memory.idl>
- #endif
- #ifndef __MENUS_IDL__
- #include <Menus.idl>
- #endif
- #ifndef __OSUTILS_IDL__
- #include <OSUtils.idl>
- #endif
- #ifndef __QUICKDRAW_IDL__
- #include <Quickdraw.idl>
- #endif
- #ifndef __RESOURCES_IDL__
- #include <Resources.idl>
- #endif
- #ifndef __WINDOWS_IDL__
- #include <Windows.idl>
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- /*
- *************************************************************************************
-
- SIMPLE LOWMEM ACCESSORS
-
- *************************************************************************************
- */
- /*
- To best work with future versions of the window manager,
- avoid using anything defined with FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
- Most, if not all of these will still be supported
- in the next major version of the window manager
- but will trigger non-optimal compatibility code paths that
- should be avoided if possible.
- */
- /*
- There is no reason to set the window list directly.
- Use BringToFront and SendBehind.
-
- If you need to do floating windows, avoid using GhostWindow
- and especially avoid patching the window manager.
-
- See Dean Yu's article in Develop 15 about how to implement floating
- windows using low-level window manager calls. The next generation
- Macintosh Window Manager will have built-in support for floating
- and modal windows.
- */
- /*
- The auxiliary window record list will be empty in future
- versions of the window manager. There is no reason to
- walk it or change it.
- */
- /*
- Please rely on the event manager to deliver activate and
- deactivate events and on the window manager to generate them.
-
- The next generation window manager will queue these events
- rather than just slamming these lowmems with the latest
- generated event, so it pays to rely on the event manager.
- */
- /*
- Please don't mess with the gray region. There has
- to be a better way. If not, please manipulate the
- existing region, don't change the value of the lowmem.
- */
- /*
- *************************************************************************************
-
- MORE COMPLEX LOWMEM ACCESSORS
-
- *************************************************************************************
- */
- #if GENERATING68K && !GENERATINGCFM
- /*
- *************************************************************************************
- "BIG DATA"
-
- These lowmem accessors access big (> 4 bytes) values.
- *************************************************************************************
- */
- /*
- *************************************************************************************
- "BLOCKMOVE ACCESSORS"
-
- These lowmem accessors use the BlockMove trap
- *************************************************************************************
- */
- /*
- *************************************************************************************
- "INDEXED ACCESSORS"
-
- These lowmem accessors take an index parameter to get/set an indexed
- lowmem global.
- *************************************************************************************
- */
- #else
- /*
- *************************************************************************************
- "BIG DATA"
-
- These lowmem accessors access big (> 4 bytes) values.
- *************************************************************************************
- */
- /*
- *************************************************************************************
- "BLOCKMOVE ACCESSORS"
-
- These lowmem accessors use the BlockMove trap
- *************************************************************************************
- */
- /*
- *************************************************************************************
- "INDEXED ACCESSORS"
-
- These lowmem accessors take an index parameter to get/set an indexed
- lowmem global.
- *************************************************************************************
- */
- #endif
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __LOWMEM_IDL__ */
-
-